package com.koron.rating.change.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 设备评级-设备单元变更(主表)
 */
@ApiModel(value = "设备评级-设备单元变更(主表)	")
@Data
public class UnitChangeBean extends BaseBean {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String billNo;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 年份
     */
    @ApiModelProperty(value = "年份")
    private Integer year;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 字典:rating_status  DRAFT草稿、WAIT_REVIEW待审批、APPROVED已审批
     */
    @ApiModelProperty(value = "字典:rating_status  DRAFT草稿、WAIT_REVIEW待审批、APPROVED已审批")
    private String ratingStatus;

//    @FillField
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
}
